﻿<%@ page  pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglibs-include.jsp"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta charset="utf-8">
		<title>商品管理平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
		<script src="<c:url value='/assets/js/jquery.min.js' />"></script>
		<script src="<c:url value='/assets/js/bootstrap.min.js' />"></script>
		<link rel="icon" href="<c:url value="/favicon.ico"/>" type="image/x-icon" />
		<link href="<c:url value="/favicon.ico"/>" rel="shortcut icon" />
		<!-- bootstrap & fontawesome -->
		<link rel="stylesheet" href="<c:url value="/assets/css/bootstrap.min.css"/>" type="text/css" />
		<link rel="stylesheet" href="<c:url value="/assets/css/font-awesome.min.css"/>" />
		
		<link rel="stylesheet" href="<c:url value="/assets/css/jquery-ui.custom.min.css"/>" >
		<!-- text fonts -->
		<link rel="stylesheet" href="<c:url value="/assets/css/ace-fonts.css"/>" />
		<link rel="stylesheet" href="<c:url value="/assets/css/prettify.css"/>" />
		
		<link rel="stylesheet" href="<c:url value="/assets/css/ace.min.css"/>" />
		<link rel="stylesheet" href="<c:url value="/assets/css/colorpicker.css"/>" />
		<link rel="stylesheet" href="<c:url value="/assets/css/ace-skins.min.css"/>" >
		<link rel="stylesheet" href="<c:url value="/assets/css/ace-rtl.min.css"/>" type="text/css" />
		
		<script src="<c:url value='/assets/js/ace-extra.min.js' />"></script>
		<decorator:head />
	</head>

	<body class="no-skin">
		<!-- #section:basics/navbar.layout -->
		<%@ include file="header.jsp" %>

		<!-- /section:basics/navbar.layout -->
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try {
					ace.settings.check('main-container', 'fixed')
				} catch (e) {}
			</script>
			<%@include file="menu.jsp"%>
			<!-- /section:basics/sidebar -->
			<div class="main-content">
				<!-- #section:basics/content.breadcrumbs -->
				<div class="breadcrumbs" id="breadcrumbs">
					<script type="text/javascript">
						try {
							ace.settings.check('breadcrumbs', 'fixed')
						} catch (e) {}
					</script>

					<ul class="breadcrumb">
						<li><i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a>
						</li>
						<li><a href="#"> 首页 </a>
						</li>
						<li class="active"></li>
					</ul>
					<!-- /.breadcrumb -->

					<!-- #section:basics/content.searchbox -->
					<!-- /.nav-search -->

					<!-- /section:basics/content.searchbox -->
				</div>

				<!-- /section:basics/content.breadcrumbs -->
				<div class="page-content">
					<!-- #section:settings.box -->
<!-- 					<div class="ace-settings-container" id="ace-settings-container"> -->
								<decorator:body />
<!-- 					</div> -->
					<!-- /.ace-settings-container -->

					<!-- /section:settings.box -->
					<div style="opacity: 1;" class="page-content-area">
					</div>
					<!-- /.page-content-area -->
				</div>
				<!-- /.page-content -->
			</div>
			<!-- /.main-content -->

			<%@ include file="/WEB-INF/views/decorators/footer.jsp" %>
			
			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse display">
				<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
			</a>
		</div>
		<!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->
		<script type="text/javascript">
			window.jQuery || document.write("<script src='assets/js/jquery.min.js'>" + "<" + "/script>");
		</script>
		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='assets/js/jquery1x.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if ('ontouchstart' in document.documentElement) document.write("<script src='<c:url value='/assets/js/jquery.mobile.custom.min.js' />'>" + "<" + "/script>");
		</script>
		<script src="<c:url value='/assets/js/jquery-ui.custom.min.js' />"></script>
		<!-- ace scripts -->
		<script src="<c:url value='/assets/js/ace.min.js' />" ></script>
		<script src="<c:url value='/assets/js/ace-elements.min.js' />"></script>
		<script src="<c:url value='/assets/js/bootstrap-colorpicker.min.js' />" ></script>
		<!--date table-->
		<script src="<c:url value='/assets/js/date-table/jquery.dataTables.js' />" ></script>
		<script src="<c:url value='/assets/js/date-table/jquery.dataTables.bootstrap.js' /> "></script>
		
		<script type="text/javascript">
		    if (top.location != self.location) {
		        top.location.href = self.location.href;
		    }
		    
		    function choiceSubmenu(obj){
// 				alert($(obj).text());
// 				alert($(obj).parent().parent().parent().find("span:eq(0)").text());
// 				alert($(obj).parent().parent().parent().find("a").attr("class"));
// 				alert($(obj).parent().parent().parent().first().text());
			}

			//Load content via ajax
			jQuery(function($) {
				if ('enable_ajax_content' in ace) {
					var options = {
						content_url: function(url) {
							var path = document.location.pathname;
							
							return path;
						},
						default_url: '' //default url
					}
					ace.enable_ajax_content($, options)
				}
			})
			function tz(obj,id){
	         $(".edg").hide();
	         $("#"+id).show();
	     	}
		</script>

	</body>

</html>